import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import { registerComponent } from '@/utils/registerComponent'
import { ElMessage } from 'element-plus'
const app = createApp(App)

// registerComponent(app); // 注册element-plus组件
// 注册element-plus组件
app.use(registerComponent)
app.config.globalProperties.$message = ElMessage
app.use(store)
app.use(router)
app.mount('#app')
console.log(process.env.VUE_APP_BASE_URL)
